import { useState } from 'react';
import { IndexPageStyle, IndexPageContent } from "./style";
import TopPage from "@/pages/topPage";
import LeftPage from '@/pages/leftPage';
import { Decoration1   } from '@jiaminghi/data-view-react'
import NoSSR from '@/components/NoSSR';
// import '@/utils/flexible';  //这个还是不正确，刷新会无效window is not defined 
export default function IndexPage() {
  const [count, setCount] = useState(1);
  const updateCount = () => setCount((c) => c + 1);

    return (
      <NoSSR><IndexPageStyle>
      <Decoration1 style={{width: '200px', height: '50px'}} />

      {/* <TopPage /> */}
      <IndexPageContent>
          {/* <LeftPage /> */}
      </IndexPageContent>
  </IndexPageStyle></NoSSR>
      
  );
}
